import React, { memo } from 'react';
import UesrepoInfo from '@/components/Uesrepo-info';
import RepoAntd from '@/components/RepoAntd';
const WareHousing = memo(() => {
  const { dataSource } = UesrepoInfo();
  const repositoryIdArray = ['17', '18', '19'];
  const arr: any = [];
  dataSource.forEach((item: any) => {
    if (repositoryIdArray.includes(item.repositoryId)) {
      arr.push(item);
    }
  });
  return (
    <div>
      <RepoAntd dataSource={arr}></RepoAntd>
    </div>
  );
});
export default WareHousing;
